<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/1/25
  Time: 17:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户信息</title>
</head>
<body>
<h2 align="center">用户列表信息</h2>
<table border="1" align="center">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>密码</td>
        <td>数据</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${userList}" var="user">
        <tr>
            <td>${user.id}</td>
            <td>${user.name}</td>
            <td>${user.password}</td>
            <td>${user.number}</td>
            <td><a href="/delUser?id=${user.id}">删除</a>&nbsp;<a href="/getUserId?id=${user.id}">修改</a>&nbsp;<a href="add.jsp">增加</a></td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
